<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <ul>
        <li th:each=" a : ${accounts} "
        style="display: grid; grid-template-columns: 150px auto">
            <span th:text="${a.id}"></span>
            <span th:text="${a.balance}"></span>
        </li>
    </ul>
</body>
</html>